package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceScmLogDAO
    extends IDataAccessInterface<WorkspaceScmLog, WorkspaceScmLogDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_SCM_LOG";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_SCM_LOG.ID";

  /** Mapped Field PARENT_ID */
  static final String ParentId = "WORKSPACE_SCM_LOG.PARENT_ID";

  /** Mapped Field WORKSPACE_ID */
  static final String WorkspaceId = "WORKSPACE_SCM_LOG.WORKSPACE_ID";

  /** Mapped Field WORKSPACE_SCM_CONFIG_ID */
  static final String WorkspaceScmConfigId = "WORKSPACE_SCM_LOG.WORKSPACE_SCM_CONFIG_ID";

  /** Mapped Field REVISION */
  static final String Revision = "WORKSPACE_SCM_LOG.REVISION";

  /** Mapped Field AUTHOR */
  static final String Author = "WORKSPACE_SCM_LOG.AUTHOR";

  /** Mapped Field REVISION_TIME */
  static final String RevisionTime = "WORKSPACE_SCM_LOG.REVISION_TIME";

  /** Mapped Field COMMENT */
  static final String Comment = "WORKSPACE_SCM_LOG.COMMENT";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_SCM_LOG.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "WORKSPACE_SCM_LOG.REMARKS";

  /** Mapped Field TOTAL_LINES */
  static final String TotalLines = "WORKSPACE_SCM_LOG.TOTAL_LINES";

  /** Mapped Field TOTAL_SIZE */
  static final String TotalSize = "WORKSPACE_SCM_LOG.TOTAL_SIZE";

  /** Mapped Attribute workspaceName */
  static final String WorkspaceName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceDAO.Name,
          com.ourteam.workspace.dao.IWorkspaceDAO.EntityName + ".",
          "WORKSPACE.");

  public static interface DataProperty {

    /** Attribute totalLines */
    static final String TotalLines = "totalLines";

    /** Attribute totalSize */
    static final String TotalSize = "totalSize";

    /** Attribute id */
    static final String Id = "id";

    /** Attribute parentId */
    static final String ParentId = "parentId";

    /** Attribute workspaceId */
    static final String WorkspaceId = "workspaceId";

    /** Attribute workspaceScmConfigId */
    static final String WorkspaceScmConfigId = "workspaceScmConfigId";

    /** Attribute revision */
    static final String Revision = "revision";

    /** Attribute author */
    static final String Author = "author";

    /** Attribute revisionTime */
    static final String RevisionTime = "revisionTime";

    /** Attribute comment */
    static final String Comment = "comment";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute workspaceName */
    static final String WorkspaceName = "workspaceName";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceScmLog findById(final long id) throws Exception;

  /**
   * Query Related WorkspaceScmChangePathLog
   *
   * @param aQueryBean
   * @throws Exception
   */
  com.ourteam.workspace.dao.WorkspaceScmChangePathLog[] queryWorkspaceScmChangePathLog(
      final WorkspaceScmLogDAOQueryBean queryBean) throws Exception;

  /**
   * Query Related WorkspaceScmChangePathLog Selective
   *
   * @param queryBean
   * @throws Exception
   */
  java.util.Map<String, Object>[] queryWorkspaceScmChangePathLogSelective(
      final WorkspaceScmLogDAOQueryBean queryBean) throws Exception;

  /**
   * Update Related WorkspaceScmChangePathLog
   *
   * @param aWorkspaceScmChangePathLog
   * @param queryBean
   * @throws Exception
   */
  void updateWorkspaceScmChangePathLog(
      final com.ourteam.workspace.dao.WorkspaceScmChangePathLog aWorkspaceScmChangePathLog,
      WorkspaceScmLogDAOQueryBean queryBean)
      throws Exception;

  /**
   * Delete Related WorkspaceScmChangePathLog
   *
   * @param queryBean
   * @throws Exception
   */
  void deleteWorkspaceScmChangePathLog(final WorkspaceScmLogDAOQueryBean queryBean)
      throws Exception;
}
